Learn R Programming

HistDAWass (version 1.0.8)

[: extract from a MatH Method [

Description

This method overrides the "[" operator for a matH object.

Usage

# S4 method for MatH
[(x, i, j, ..., drop = TRUE)

Value

A matH object

Arguments

x

a matH object

i

a set of integer values identifying the rows

j

a set of integer values identifying the columns

...

not useful

drop

a logical value inherited from the basic method "[" but not used (default=TRUE)

Examples

Run this code
D <- BLOOD # the BLOOD dataset
SUB_D <- BLOOD[c(1, 2, 5), c(1, 2)]

Run the code above in your browser using DataLab